package com.hzw.saas.service.msg.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *  消息状态表
 * </p>
 *
 * @author sonam
 * @since 2021/1/7 18:54
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_msg_status")
public class MsgStatus implements Serializable {

    private static final long serialVersionUID = 8442585279185607951L;
    @TableId(type = IdType.AUTO)
    private Long id;

    private String msgId;

    private String userId;

    @TableField(value = "`read`")
    private Integer read;

    /**
     * 标识用户消息是否删除
     */
    private Integer isDelete;

}
